package com.test;

/**
 * @Author: zhangquan
 * @Description:
 * @Date: 2020/7/30 14:37
 * @Version: 1.0
 */
public class SingletonIn {

    private SingletonIn () {

    }

    private static class SingletonInHodler{
        private static SingletonIn singletonIn = new SingletonIn();
    }

    public static SingletonIn getInstance() {
        return SingletonInHodler.singletonIn;
    }
}
